/*
 * @Author: lsp<286212824@qq.com>
 * @Date: 2020-07-17 17:13:11
 * @LastEditTime: 2020-07-24 10:47:41
 * @Description: file content
 */ 
import req from '@/utils/request';

// 办公耗材 - 某仓库耗材分类列表 https://www.showdoc.cc/829049085123350?page_id=4527545048640934
export const getCateGoryIndex = params => req.get('/isvmobile/Category/index', { params });

// 办公耗材 - 分类下的可领用耗材 https://www.showdoc.cc/829049085123350?page_id=4527567216403352
export const getConsumableReceiveIndex = params => req.get('/isvmobile/Consumable/receiveIndex', { params });

// 办公耗材 - 获取所在部门拥有的仓库 https://www.showdoc.cc/829049085123350?page_id=4527580825210494
export const getConsumableHaveWareHouse = params => req.get('/isvmobile/Consumable/haveWarehouse', { params });
export const getAssetHaveWarehouse = params => req.get('/isvmobile/Asset/haveWarehouse', { params });

// 办公耗材 - 领用耗材 https://www.showdoc.cc/829049085123350?page_id=4527632074009100
export const postConsumableReceive = params => req.post('/isvmobile/Consumable/receive', params);

// 办公耗材 - 耗材详情 https://www.showdoc.cc/829049085123350?page_id=4527648240471193
export const getConsumableInfo = params => req.get('/isvmobile/Consumable/info', { params });
